package com.ruoyi.loan.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.domain.TbCategoriesIdVo;
import com.ruoyi.common.core.domain.TbCategoriesVo;
import com.ruoyi.loan.product.domain.TbCategories;
import com.ruoyi.loan.product.domain.TbLoanProducts;

import java.util.List;

/**
 *
 */
public interface TbCategoriesService extends IService<TbCategories> {

    R add(TbCategories categories);

    R updateByCategories(TbCategories categories);

    R deleteById(TbCategoriesIdVo tbCategoriesIdVo);

    List<TbCategories> findAll(TbCategoriesVo categoriesVo);
}
